
//菜单页手指移动逻辑
cc.Class({
    extends: cc.Component,

    properties: {
    },

    onLoad () {
        this.node.position=cc.p(-150,this.node.y);
        this.node.runAction( cc.repeatForever(cc.sequence(cc.moveTo(0.5,cc.p(150,this.node.y)),
        cc.moveTo(0.5,cc.p(-150,this.node.y)))));
    },
});
